package com.beiming.libra.domain.dto.requestdto.caseapply;

import com.beiming.libra.common.constants.ValidateMessage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

/**
 * 批量新增案件dto
 *
 * @author tp Date : 2018/6/7/007 14:05
 */
@Data
@ApiModel(value = "批量导入案件")
public class MultiAddCaseRequestDTO implements Serializable {

  /**
   * 文件
   */
  @ApiModelProperty(value = "上传的文件", required = true)
  @NotNull(message = ValidateMessage.FILE_NAME_IS_EMPTY)
  private MultipartFile file;
  /**
   * 案件类型
   */
  @ApiModelProperty(value = "案件类型", required = true)
  @NotNull(message = ValidateMessage.CASETYPE_NOT_BLANK)
  private String caseType;
  /**
   * 纠纷类型
   */
  @ApiModelProperty(value = "纠纷类型", required = true)
  @NotNull(message = ValidateMessage.DISPUTETYPE_NOT_BLANK)
  private String disputeType;
  /**
   * 用户id
   */
  @ApiModelProperty(value = "用户id", hidden = true)
  private String userId;


}
